﻿using System;

namespace D3.Pathing
{
    internal class Program
    {
        private static void Main(string[] args)
        {
            var grid = new byte[2048,2048];

            for (int i = 0; i < 2048; i++)
            {
                for (int k = 0; k < 2048; k++)
                {
                    grid[i, k] = 1;
                }
            }

            var x = new SpeedyAStar(grid);


            foreach (
                SpeedyAStarNode n in x.FindPath(new System.Drawing.Point(1, 1), new System.Drawing.Point(2045, 2045)))
            {
                Console.Write("" + n.X + "/" + n.Y + Environment.NewLine);
                ;
            }
        }
    }
}